CustomParamsHandler

interface CustomParamsHandler

Interface definition for a callback to be invoked before when each operation called. since 1.2.2

Functions

Link copied to clipboard
open fun onBeforeCreateGroupChannel(@NonNull params: GroupChannelCreateParams)
It will be called before creating group channel.
Link copied to clipboard
open fun onBeforeCreateOpenChannel(@NonNull params: OpenChannelCreateParams)
It will be called before creating open channel.
Link copied to clipboard
open fun onBeforeSendFileMessage(@NonNull params: FileMessageCreateParams)
It will be called before sending message.
Link copied to clipboard
open fun onBeforeSendMultipleFilesMessage(@NonNull params: MultipleFilesMessageCreateParams)
It will be called before sending multiple files message.
Link copied to clipboard
open fun onBeforeSendUserMessage(@NonNull params: UserMessageCreateParams)
It will be called before sending message.
Link copied to clipboard
open fun onBeforeUpdateGroupChannel(@NonNull params: GroupChannelUpdateParams)
It will be called before updating group channel.
Link copied to clipboard
open fun onBeforeUpdateOpenChannel(@NonNull params: OpenChannelUpdateParams)
It will be called before updating open channel.
Link copied to clipboard
open fun onBeforeUpdateUserMessage(@NonNull params: UserMessageUpdateParams)
It will be called before updating message.